<?php	
	session_start();
	include("lib/db/mysqlDatabase.php");
	include("lib/inc_session.php");
	include("lib/inc_time.php");
	include("lib/inc_tournament.php");
	include("lib/inc_replace.php");
	include("lib/inc_location.php");
	include("lib/classes/Torneo.php");
	include("lib/inc_configuration.php");
	processLogin(FALSE);
	
	error_reporting(E_ERROR | E_WARNING | E_PARSE);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>PES6J Tournament</title>
	<link type="text/css" rel="stylesheet" href="style.css" media="screen" charset="utf-8" />
	<script type="text/javascript" src="js.js"></script>
</head>
<body>
<?php
	echo '<input type="button" value="Find yourself" onclick="findTeam(165);" class="findYourselfButton"/>';
	$torneo = new Torneo();
	$torneo->id = REPLACE_Injection($_GET["id"]);
	$torneo->mostrarTorneo();
?>
</body>